Intrusion detection systems (IDS) are technical security controls designed to monitor for and alert on the presence of suspicious or disallowed system activity within host processes and across networks.

Device logging is used for recording many types of events that occur within hosts and network devices. Logs, whether generated by IDS or hosts, are used as audit trails and permanent records of what happened and when.

Organizations have a responsibility to ensure that their monitoring systems are functioning correctly and alerting on the broad range of communications commonly in use. Documenting this testing can also be used to show due diligence. Likewise, you can use testing to confirm that IDS detects traffic patterns as claimed by the vendor.

With regard to IDS testing, methods should include the ability to provide a stimulus (i.e., send data that simulates an exploitation of a particular vulnerability) and observe the appropriate response by the IDS. Testing can also uncover an IDS’s inability to detect purposeful evasion techniques that might be used by attackers. Under controlled conditions, the stimulus can be crafted and sent from vulnerability scanners. The response can be observed in log files generated by the IDS or any other monitoring system used with the IDS. If the appropriate response is not generated, investigation of the causes can be undertaken.

With regard to host logging tests, methods should also include the ability to provide a stimulus (e.g., send data that simulates a logable event) and observe the appropriate response by the monitoring system. Under controlled conditions, the stimulus can be crafted in many ways depending on your test. For example, if a host is configured to log an alert every time an administrator or equivalent logs on, you can simply log on as the “root” user to the organization’s Unix system. In this example, the response can be observed in the system’s log files. If the appropriate log entry is not generated, investigation of the causes can be undertaken.

The overall goal is to make sure the monitoring is configured to the organization’s specifications and that it has all of the features needed.